#ifndef _SYS_INTERRUPT_H__
#define _SYS_INTERRUPT_H__

#define INTERRUPT_NUMBER 69
#define LOW_WRITE_READ_FUN_NUMBER 12
typedef void (*_interrupt_fun)(void );
extern void (*sys_interrupt_def)(void);
//注册中断
extern unsigned char (*sys_interrupt_register)(_interrupt_fun interrupt_fun,unsigned short interrupt_number,unsigned int r9);
//注销中断
extern unsigned char  (*sys_interrupt_unregister)(unsigned short  interrupt_number);

extern unsigned char (*sys_RW_fun_register)(_interrupt_fun interrupt_fun,unsigned short interrupt_number);
extern unsigned char (*sys_RW_fun_unregister)(unsigned short interrupt_number);
extern unsigned int (*sys_RW_fun_get)(unsigned short fun_number);

#endif


